Web

Path: ProjectView> double-click Project properties> Properties pane

Property Description
Show Runtime Errors
true Display a message when a runtime error occurs
false

Disabled

Web Inactivity Timeout

Defines a timeout for JM4Web client. When the timeout expires without any activity the current user is logged out.

Range 1–86400 s (form 1 s to 24 h)
Default value 600 s
Values 0 = disabled
Web Icon

The favorite icon associate at the web pages

Refresh Time

Defines the refresh time for the communication between the runtime and JM4Web clients.

Range 50–10000 ms
Default value 100 ms
Use browser render API
true Use the browser API requestAnimationFrame to manage graphic update
false

Disable this properties for old browsers that not support the web engine optimization

Force browser layers
true Force browser to use graphic layers when widgets are attached to tags
false

Disable this properties for old browsers that not support the web engine optimization

Enable Global JavaScript for remote

Define if the JavaScrip code defined inside the Project Properties, general triggered from Alarms and Schedulers events, have to run only on local HMI device or even on remote clients.

None Will not be executed on remote clients (run only inside the local HMI device)
Client Will be executed on HMI Client
Web Will be executed on Web client
Both Will be executed on both HMI Client and Web clients
Max Bandwidth (Kbs)

Limit for maximum data sent by server (useful for old slow browsers). Set to 0 to use all the available bandwidth (default)

Web clients connection mode
Auto The connection mode is selected by the client (default)
SSE Force the Server-Sent Events mode
Long Polling Force the Long-polling mode
WebPageRequest

You can synchronize pages shown on the JM4Web Clients from a controller such as a PLC.

Page to be shown on the JM4Web Client.
Attached tag must contain an integer value within the range of the available project pages and must be available at least as a Read resource.

Web Communication icon delay (ms)

Delay before display the communication error icon (default is 0 mSec)

The special value -1 is meaning always disabled

Enable the change page loader animation If set to "true", an animated icon is displayed while the page is loading.
Enable change page animation for cached pages If set to "false", the animated icon is not displayed when loading pages that are in the cache. Generally, the loading of these pages is very fast.

The project.getClientType() can be used to retrieve the running client type. See "Project object" inside JavaScript chapter for additional details.